package com.ereport.util;



import javax.mail.PasswordAuthentication;

public  class SMTPAuthenticator extends javax.mail.Authenticator
{
	String email;
	String password;
	public SMTPAuthenticator(String e,String p){
		email=e;
		password=p;
	}
public PasswordAuthentication getPasswordAuthentication()
{
return new PasswordAuthentication(email, password);
}
}